package com.ylyq.ylxx.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @ClassName CreativematerialInfo
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/2 10:04
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "创意素材信息的请求参数")
public class CreativematerialInfo {
    @ApiModelProperty(value = "广告主ID")
    @NotNull(message = "广告主ID不能为空")
    private Long advertiser_id;
    @ApiModelProperty(value = "创意ID集合")
    @NotNull(message = "创意ID集合不能为空")
    private Long[] creative_ids;
    @ApiModelProperty(value = "查询字段集合, 默认查询所有字段。详见下方response字段定义\n" +
            "允许值: \"id\", \"ad_id\", \"advertiser_id\", \"title\", \"image_info\",\"image_mode\", \"opt_status\"")
    private String[] fields;
}
